* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: electronicFont;
  src: url(../font/DS-DIGIT.TTF);
}

body {
  background-image: url(../images/bg.jpg);
  color: #fff;
}

header {
  position: relative;
  h1 {
    text-align: center;
    font-size: .4375rem;
  }
  .top {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1rem;
    background-image: url(../images/head_bg.png);
    .showTime {
      position: absolute;
      right: 0;
    }
  }
}

.mainbox {
  display: flex;
  min-width: 1024px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 .125rem .125rem;
}
.column {
  flex: 3;
  &:nth-child(2) {
    flex: 5;
  }
  .panel {
    position: relative;
    height: 3.875rem;
    margin: .125rem;
    padding: 0 .125rem .125rem;
    box-sizing: border-box;
    border: 1px solid rgba(25, 186, 139, .17);
    background: url(../images/line.png) rgba(255, 255, 255, .03);
    p {
      font-size: .25rem;
      line-height: .4375rem;
      text-align: center;
    }
    .chart {
      height: 88%;
      width: 100%;
    }
    &::before {
      position: absolute;
      top: 0;
      left: 0;
      width: 10px;
      height: 10px;
      border-left: 2px solid #02a6b5;
      border-top: 2px solid #02a6b5;
      content: '';
    }
    &::after {
      position: absolute;
      top: 0;
      right: 0;
      width: 10px;
      height: 10px;
      border-right: 2px solid #02a6b5;
      border-top: 2px solid #02a6b5;
      content: '';
    }
  }
  .panel-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    &::before {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 10px;
      height: 10px;
      border-left: 2px solid #02a6b5;
      border-bottom: 2px solid #02a6b5;
      content: '';
    }
    &::after {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 10px;
      height: 10px;
      border-right: 2px solid #02a6b5;
      border-bottom: 2px solid #02a6b5;
      content: '';
    }
  }
}

.top-title {
  margin-top: .125rem;
  background: rgba(101, 132, 226, 0.1);
}

.title {
  position: relative;
  width: 100%;
  padding: .1875rem .1875rem 0;
  border: 1px solid rgba(25, 186, 139, 0.17);
  box-sizing: border-box;
  ul {
    display: flex;
    li {
      width: 50%;
      text-align: center;
      line-height: .5rem;
      font-size: .625rem;
      margin-bottom: .125rem;
      font-family: "electronicFont";
      &:nth-child(1) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
      }
    }
  }
  &::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 10px;
    border-top: 2px solid #02a6b5;
    border-left: 2px solid #02a6b5;
    content: '';
  }
  &::after {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 10px;
    border-bottom: 2px solid #02a6b5;
    border-right: 2px solid #02a6b5;
    content: '';
  }
}

.text {
  ul {
    display: flex;
    li {
      flex: 1;
      text-align: center;
      color: rgba(255, 255, 255, .7);
      font-size: .225rem;
      height: .5rem;
      line-height: .5rem;
      padding-top: .125rem;
    }
  }
}

@mixin absolate {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: 100% 100%;
}

@keyframes rotate1 {
  form {
    transform: translate(-50%, -50%)
    rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%)
    rotate(360deg);
  }
}

@keyframes rotate2 {
  form {
    transform: translate(-50%, -50%)
    rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%)
    rotate(-360deg);
  }
}

.content {
  position: relative;
  height: 10.125rem;
  .map {
    @include absolate;
    width: 6.375rem;
    height: 6.375rem;
    background-image: url(../images/map.png);
    opacity: .3;
  }
  .rotate1 {
    @include absolate;
    width: 8.0375rem;
    height: 8.0375rem;
    background-image: url(../images/lbx.png);
    opacity: .2;
    animation: rotate1 15s linear infinite;
  }
  .rotate2 {
    @include absolate;
    width: 7.075rem;
    height: 7.075rem;
    background-image: url(../images/jt.png);
    opacity: .4;
    animation: rotate2 10s linear infinite;
  }
  .chart {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 42px !important;
  }
}
@media screen and (min-width: 1920) {
  html {
    font-size: 80px !important;
  }
}